/**
 * 
 */
package org.vsg.stock.core.persistence;

import java.util.Date;
import java.util.List;

import org.springframework.dao.DataAccessException;
import org.vsg.stock.core.domain.StockTick;

/**
 * @author vison
 *
 */
public interface StockTickDao {
	
	/**
	 * 
	 * @param stockCode
	 * @param date
	 * @return
	 * @throws DataAccessException
	 */
	List<StockTick> findOneDayAllTicks(String stockCode , Date date) throws DataAccessException;
	
	/**
	 * 
	 * @param stockCode
	 * @param date
	 * @return
	 * @throws DataAccessException
	 */
	boolean checkStockTickDataExist(String stockCode , Date date) throws  DataAccessException;

}
